package com.kgc.dubbo.exception;

/**
 * 系统的通用异常
 */
public enum UserException {
    USER_PASSWORD_ERROR(1001,"用户名或密码错误!");
    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    private String massage;
    UserException(Integer code, String massage){
        this.code = code;
        this.massage = massage;
    }
}
